<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>
  {{info}}
  <!--属性绑定简写 冒号属性名="内容"-->
  <input type="text":value="info">
  <a :href="url">超链接</a>
  <img :src="imgName">
</div>
<script src="js/vue.min.js"></script>
<script>
  let v=new Vue({
    el:"body>div",
    data:{
      imgName:"../b.png",
      info:"属性绑定测试",
      url:"http://baidu.com"
    }
  })
</script>
</body>
</html>